package com.jyxd.web.hiscz.dto.patient;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.jyxd.web.hiscz.dto.CodingDto;
import com.jyxd.web.hiscz.dto.patient.demography.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("患者基本信息")
@Data
public class DemographyDto {

    @JsonProperty(value = "PatientIdentifierList")
    @ApiModelProperty(name = "患者标识列表")
    private List<PatientIdentifierDto> patientIdentifierList;

    @JsonProperty(value = "PatientName")
    @ApiModelProperty(name = "患者姓名")
    private String patientName;

    @JsonProperty(value = "Birthday")
    @ApiModelProperty(name = "患者出生日期(yyyy-MM-dd HH:mm:ss)")
   // @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String birthday;

    @JsonProperty(value = "Sex")
    @ApiModelProperty(name = "性别")
    private CodingDto sex;

    @JsonProperty(value = "MaritalStatus")
    @ApiModelProperty(name = "婚姻状况")
    private CodingDto maritalStatus;

    @JsonProperty(value = "EthnicGroup")
    @ApiModelProperty(name = "民族")
    private CodingDto ethnicGroup;

    @JsonProperty(value = "Nationality")
    @ApiModelProperty(name = "国籍")
    private CodingDto nationality;

    @JsonProperty(value = "Career")
    @ApiModelProperty(name = "职业")
    private CodingDto career;

    @JsonProperty(value = "LocalIndicator")
    @ApiModelProperty(name = "本地标志")
    private CodingDto localIndicator;

    @JsonProperty(value = "SSN")
    @ApiModelProperty(name = "身份证号")
    private String ssn;

    @JsonProperty(value = "Culture")
    @ApiModelProperty(name = "学历")
    private CodingDto culture;

    @JsonProperty(value = "PatientAddress")
    @ApiModelProperty(name = "地址列表")
    private List<PatientAddresDto> patientAddress;

    @JsonProperty(value = "PhoneList")
    @ApiModelProperty(name = "联系方式列表")
    private List<PhoneDto> phoneList;

    @JsonProperty(value = "CardList")
    @ApiModelProperty(name = "卡列表")
    private List<CardDto> CardList;

    @JsonProperty(value = "CertificateList")
    @ApiModelProperty(name = "证件列表")
    private List<CertificateDto> CertificateList;

    @JsonProperty(value = "PoorHouseholdIndicator")
    @ApiModelProperty(name = " 贫困户标志：0-非贫困户,1-贫困户")
    private String poorHouseholdIndicator;

    @JsonProperty(value = "PsychosisIndicator")
    @ApiModelProperty(name = "精神障碍标志")
    private CodingDto psychosisIndicator;
}
